package com.pactera.madp.cp.api.entity.roomqc;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("cp_rule_touch")
@AllArgsConstructor
@NoArgsConstructor
public class RuleTouchEntity extends BaseEntity<RuleTouchEntity> {
    @TableId
    private Integer id;
    private Integer ruleId;
    private Integer roomId;
    private String time; //触发时间
    private Long msgId;

    public RuleTouchEntity(Integer ruleId, Integer roomId, String time, Long msgId) {
        this.ruleId = ruleId;
        this.roomId = roomId;
        this.time = time;
        this.msgId = msgId;
    }
}
